package com.bluefox.modules.system.domain;

import com.bluefox.jpa.model.AbstractAuditModel;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.*;
import java.io.Serializable;

/**
 * @ClassName : SysDictData  //类名
 * @Description : //描述
 * @Author : sunfeng
 * @Date: 2020-04-16 22:39  //时间
 */
@Entity
@Getter
@Setter
@Table(name = "sys_dict_data")
public class SysDictData extends AbstractAuditModel implements Serializable {
    private static final long serialVersionUID = 1L;


    /**
     * 字典排序
     */
    @Column(name = "dict_sort", length = 4)
    private Long dictSort;

    /**
     * 字典标签
     */
    @Column(name = "dict_label", length = 100)
    private String dictLabel;

    /**
     * 字典键值
     */
    @Column(name = "dict_value", length = 100)
    private String dictValue;

    /**
     * 字典类型
     */
    @Column(name = "dict_type", length = 100)
    private String dictType;

    /**
     * 样式属性（其他样式扩展）
     */
    @Column(name = "css_class", length = 100 )
    private String cssClass;

    /**
     * 表格字典样式
     */
    @Column(name = "list_class", length = 100)
    private String listClass;

    /**
     * 是否默认（Y是 N否）
     */
    @Column(name = "is_default", length = 1)
    private String isDefault;

    /**
     * 状态（0正常 1停用）
     */
    @Column(name = "status", length = 1)
    private String status;


}
